home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 46 / CDPowerplay46Disc2.iso / utils / xqxset55 / _SETUP.2 / Group3 / XQ ICQ 2.xpl < prev    next >
Encoding:
XSetup plugin  |  1999-10-15  |  1.3 KB  |  65 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="2"
  4. "UIPATH"="Internet\Instant Messaging\ICQ"
  5. "NAME"="General Settings"
  6. "VERSION"="1.12"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Allow automatic program updates"
  9. "TEXT 2"="Show first time welcome screen"
  10. "DESCRIPTION 1"="Some options for ICQ."
  11. "DESCRIPTION 2"="ICQ may be obtained at http://www.icq.com/."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  15. "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
  16.  
  17.  
  18.  sP="HKCU\Software\Mirabilis\ICQ\DefaultPrefs\"
  19. sV1="Auto Update" 'STR yes/no
  20. sV2="NoFirstScreen" 'STR yes/no
  21. Sub Plugin_Initialize 
  22.  if RegPathExists(sP) then
  23.     i=RegReadValue(sP & sV1)
  24.     if i="Yes" then SetUiElement 1,true
  25.  
  26.     i=RegReadValue(sP & sV2)
  27.     if i<>"Yes" then SetUiElement 2,true 
  28.  else
  29.     Call Disable()
  30.  end if
  31. End Sub
  32.  
  33.  
  34. Sub Plugin_CheckData(ElementIndex)
  35. End Sub
  36.  
  37.  
  38.  
  39. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  40.  b=GetUIElement(1)
  41.  if b=true then
  42.     i="Yes"
  43.  else
  44.     i="No"
  45.  end if
  46.  Call RegWriteValue(sP & sV1,i,1)
  47.  
  48.  b=GetUIElement(2)
  49.  if b=true then
  50.     i="No"
  51.  else
  52.     i="Yes"
  53.  end if
  54.  Call RegWriteValue(sP & sV2,i,1)
  55.  
  56.  
  57. End Sub
  58.  
  59.  
  60. Sub Plugin_Terminate 
  61. End Sub
  62.  
  63.  
  64.  
  65.